package cn.itcast.ssm.po;

import java.io.Serializable;
import java.util.Date;

public class CollectValue implements Serializable {
    private Integer collectId;

    private Double collectValue;

    private Date collectTime;

    private Integer collectType;

    private Integer cropId;

    private static final long serialVersionUID = 1L;

    public Integer getCollectId() {
        return collectId;
    }

    public void setCollectId(Integer collectId) {
        this.collectId = collectId;
    }

    public Double getCollectValue() {
        return collectValue;
    }

    public void setCollectValue(Double collectValue) {
        this.collectValue = collectValue;
    }

    public Date getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(Date collectTime) {
        this.collectTime = collectTime;
    }

    public Integer getCollectType() {
        return collectType;
    }

    public void setCollectType(Integer collectType) {
        this.collectType = collectType;
    }

    public Integer getCropId() {
        return cropId;
    }

    public void setCropId(Integer cropId) {
        this.cropId = cropId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", collectId=").append(collectId);
        sb.append(", collectValue=").append(collectValue);
        sb.append(", collectTime=").append(collectTime);
        sb.append(", collectType=").append(collectType);
        sb.append(", cropId=").append(cropId);
        sb.append("]");
        return sb.toString();
    }
}